package com.youboy.wechatapi.domain.mysql;

import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName：wechatapi   
 * @author：冉尧（Yvan）
 * @CreateTime：2014年10月20日 下午2:41:02  
 * @Remarks：   二维码扫描记录
 */
@SuppressWarnings("serial")
public class OperateRecord implements Serializable {

	private int id;
	
	//开发者微信号
	private String wechatid;
	
	//发送方帐号
	private String openid;
	
	//事件类型
	private String eventType;
	
	//场景值
	private int scene_id;
	
	//二维码的ticket，可用来换取二维码图片 
	private String ticket;
	
	private Date createTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getWechatid() {
		return wechatid;
	}

	public void setWechatid(String wechatid) {
		this.wechatid = wechatid;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getEventType() {
		return eventType;
	}

	public void setEventType(String eventType) {
		this.eventType = eventType;
	}

	public int getScene_id() {
		return scene_id;
	}

	public void setScene_id(int scene_id) {
		this.scene_id = scene_id;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public OperateRecord() {
		// TODO Auto-generated constructor stub
	}

	public OperateRecord(String wechatid, String openid, String eventType, int scene_id,
			String ticket, Date createTime) {
		super();
		this.wechatid = wechatid;
		this.openid = openid;
		this.eventType = eventType;
		this.scene_id = scene_id;
		this.ticket = ticket;
		this.createTime = createTime;
	}
	
}

